package com.pig.goods.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pig.pojo.commgoods.Category;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface CategoryDao extends BaseMapper<Category> {


    /**
     * 通过商品id查询对应的商品目录
     * @param goodsId
     * @return
     */
    String findCategoryNameByGoodsId(Integer goodsId);

}
